package com.zhang.service;


import com.github.pagehelper.PageInfo;
import com.zhang.domain.Department;
import com.zhang.domain.LoginInfo;
import com.zhang.domain.Manager;
import com.zhang.domain.Shop;
import com.zhang.query.EmployeeQuery;
import com.zhang.util.AjaxResult;

import java.util.List;

/**
 * @author zh
 * @create 2022-02-15 15:59
 */
public interface IEmpService {

    void update(Manager m);

    void add(Manager m);

    void delete(Long id);

    List<Manager> selectAll();

    PageInfo<Manager> selectData(EmployeeQuery query);

    void deleteAll(Long[] id);

    List<Department> selAllDept();

    List<LoginInfo> selAllLoginInfo();

    List<Shop> selAllShop();
}
